<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
  * {
            margin: 0;
            padding: 0;
        }

        .title{
            text-align: center;
        }

        .block input{
            border: none;
            outline: none;
            background-color: #f5f5f5;
            display: inline-block;
            width: 200px;
            height: 25px;
            border-radius: 10px;
            margin: 20px;
            padding: 10px;

        }
        .block{
            margin-left: 50px;
        }
        
        .block:last-child input{
            /* font-size: 30px; */
            /* background-color: red; */
            padding-left: 90px;
           width: 120px;
        }
        .block:last-child{
             box-sizing: border-box;
        }
    </style>
</head>
<body>
      <div id="app">
             <div class="title">登录</div>
             <div class="block">
                 <input type="text" placeholder="账号" v-model="phone">
             </div>
             <div class="block">
                <input type="text" placeholder="密码" v-model="pass">
            </div>
            <div class="block">
                <input type="text" placeholder="登录" @click="login">
            </div>
      </div>
</body>
</html>
<script src="vue-2.5.21.js"></script>
<script src="作业2.js"></script>